package com.wisezone.permission.service;

import java.util.List;

import com.wisezone.common.exception.WzServiceException;
import com.wisezone.common.exception.WzWebException;
import com.wisezone.common.service.BaseService;
import com.wisezone.permission.bean.form.WzDepartmentForm;

/**
 * 
 *部门; InnoDB free: 24576 kB
 * 
 * @author create by create date 2010-07-29 14:44:40 update date 2010-07-29
 *         14:44:40
 * 
 */
public interface WzDepartmentService extends BaseService {

	/**
	 * 获得部门列表
	 * 
	 * @param name
	 *            部门名称
	 * @return
	 * @throws WzServiceException
	 */
	public List<WzDepartmentForm> getDepartmentList(String name)
			throws WzServiceException;

	/**
	 * 获得父部门
	 * 
	 * @return
	 * @throws WzWebException
	 */
	public List<WzDepartmentForm> getParentList() throws WzWebException;

}